package com.maxatime.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Mr.Zhao
 * @title:
 * @projectName phoenix
 * @description: TODO
 * @date 2021/9/16 17:04
 */
public class RetDataUtils {

    public static Map<String, Object> retData(String code, String msg, Object data) {
        Map<String, Object> m = new HashMap<>();
        m.put(MyContent.CODE, code);
        m.put(MyContent.MSG, msg);
        m.put(MyContent.DATA, data);
        return m;
    }
}
